<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" charset="utf-8">
	//form 객체 조회
	function sendForm(value){
	var f1 = window.document.form_name;
	alert(f1.action + '='+fi.method+'='+f1.name+"-"+f1.enctype);
	if(value==1){
		f1.action = "a.jsp";
	}else if(value==2){
		f1.action ="b.jsp";
	}else if(value==3){
		f1.action="c.jsp";
	}
	f1.submit();//폼전송		
	}
</script>
</head>
<body>
<form name="form_name" action="response.jsp">
	<input type="button" value="a.jsp로 이동" onclick = "sendForm(1);">
	<input type="button" value="b.jsp로 이동" onclick = "sendForm(2);">
	<input type="button" value="c.jsp로 이동" onclick = "sendForm(3);">
</form>
</body>
</html>